package com.guchenbo.study.xml.app1;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author guchenbo
 * @Date 2019/4/22.
 */
public class Foo {

    @Autowired
    private Bar bar;

    public void say(){
        bar.say();
    }

    public Bar getBar() {
        return bar;
    }

    public void setBar(Bar bar) {
        this.bar = bar;
    }


}
